package cn.edu.wynu.set;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Teacher {
    MyClass myClass;
    List<Student> students;
    Map<Student,Integer> score;
    String[] vacation;

    public void setMyClass(MyClass myClass) {
        this.myClass = myClass;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    public void setScore(Map<Student, Integer> score) {
        this.score = score;
    }

    public void setVacation(String[] vacation) {
        this.vacation = vacation;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "myClass=" + myClass +
                ", students=" + students +
                ", score=" + score +
                ", vacation=" + Arrays.toString(vacation) +
                '}';
    }
}
